﻿
//namespace SocketBook7Server.Script.proto
//{
    //注册
    public class MsgRegister : MsgBase {
        public MsgRegister() { protoName = "MsgRegister"; }
        //client
        public string id = "";
        public string pw = "";
        //服务端返回（0-成功，1-失败
        public int result = 0;
    }
    //登录
    public class MsgLogin : MsgBase {
        public MsgLogin() { protoName = "MsgLogin"; }
        //客户端
        public string id = "";
        public string pw = "";
        //服务端返回（0-成功，1-失败）
        public int result = 0;
    }
    //踢下线（由服务端推送）
    public class MsgKick : MsgBase
    {
        public MsgKick() { protoName = "MsgKick"; }
        //原因（0-其他人登录同一账号）
        public int reson = 0;
    }
//}
